<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>句容机关网站管理后台</title>
        <link rel="stylesheet" href="../style/reset.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../style/style.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../style/invalid.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../js-plugin/jquery-ui/jquery-ui.css" type="text/css" />
        <link rel="stylesheet" href="../style/master/ArticleEdit.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="../style/msgbox.css" type="text/css" />
        <link rel="stylesheet" href="../js-plugin/uploadify/uploadify.css" type="text/css" media="screen" />
        <!--                       Javascripts                       --><!-- jQuery -->
        <script type="text/javascript" src="../js-plugin/jquery-1.6.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery-ui/jquery-ui.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery.validate.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/additional-methods.min.js">
        </script>
        <!-- jQuery Configuration -->
        <script type="text/javascript" src="../js-plugin/simpla.jquery.configuration.js">
        </script>
        <!-- tiny_mce jQuery Plugin -->
        <script type="text/javascript" src="../js-plugin/tiny_mce/jquery.tinymce.js">
        </script>
        <!-- SWF UPLOAD -->
        <script type="text/javascript" src="../js-plugin/uploadify/jquery.uploadify.v2.1.4.min.js">
        </script>
        <script type="text/javascript" src="../js-plugin/uploadify/swfobject.js">
        </script>
        <script src="../js-plugin/jquery.easy-confirm-dialog.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery.form.js">
        </script>
        <script type="text/javascript" src="../js-plugin/jquery.template.js">
        </script>
        <script src="../js-plugin/tpl.js">
        </script>
        <script src="../js/master/PartyBuildingEdit.js">
        </script>
    </head>
    <body>
        <div class="loadingbox clearfix">
        </div>
        <div id="main-content_editor">
            <div class="content-box">
                <!-- Start Content Box -->
                <div class="content-box-header">
                    <h3>编辑机关党建专版</h3>
                    <div class="bulk-actions align-right20">
                        <a class="button saveBtn" href="#" tabindex="-1">保存</a>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <!-- End .content-box-header -->
                <div class="content-box-content">
                    <div class="tab-content default-tab">
                        <form id="partybuildingEditor" action="/action/master/PartyBuildingEdit" method="post">
                            <input type="hidden" id="articleid" name="id" value="${(article.id?c)!}" />
                            <fieldset>
                                <p>
                                    <label class="inline">标题</label>
                                    <input class="text-input large-input" type="text" id="title" name="title" value="${article.title?html}" />
                                </p>
								<p>
                                    <label>说明</label>
                                    <textarea class="text-input large-input" type="text" id="content" name="content">${article.content?html}</textarea>
                                </p>
                                <p>
                                    <label class="inline">发布日期</label>
                                    <input class="text-input small-input" type="text" id="postdate" name="postdate" value="${(article.postdate?default(.now)?date)!}" />
                                </p>
							    <div id="status-message">
                                </div>
                                <div id="custom-queue">
                                </div>
                                <div id="fileInputUploader" /><!-- This is the target div. id must match the href of this div's tab -->
                                <div class="notification attention png_bg post-state" style="display:none">
                                    <a href="#" class="close"><img src="/images/manage/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
                                    <div id="article-msg">
                                    </div>
                                </div>
                            </fieldset>
                        </form>
                        <div class="notification attention png_bg attachmentMSG" >
                            <a href="#" class="close"><img src="/images/manage/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
                            <div id="attachment_msg">
                            </div>
                        </div>
                        
                        <div class="content-box attachment" >
                            <div class="content-box-header">
                                <h3>附件管理</h3> 
							    <p>
							   	 	 <label class="bulk-actions align-right20" style="padding-top:10px;">
                               			 <span id="pdf_file" name="pdf_upload" ></span>
                           			 </label>
							    </p>
							    <div class="clear">
                                </div>
                            </div>
                            <div class="content-box-content" style="min-height: 70px;">
                                <div id="attachment-preview">
                                    <#list list as file>
                                    <li>
                                    	<span><a href="${(file.id?c)!}" class="delFile" title="您确定删除该文件么？">[删除] </a></span>
                                    	<span><a href="${(file.fileserverpath)!}" class="downloadFile" target="_blank" style="margin-right:10px;">[下载] </a></span>
                                        <b>${(file.originalname)!}</b>
                                    </li>
                                    </#list>
                                </div>
								<div id="attachment-preview-tpl" style="display:none;">
                                      <li>
                                      <span><a href="" class="delEditFile" title="您确定删除该文件么？">删除 </a></span>
                                      <b></b>
                                      </li>
                                </div>
								<div class="clear">
                                </div>
                            </div>
                        </div>
                        
                    </div>
                    <!-- End #tab1 -->
                </div>
                <!-- End .content-box-content -->
            </div>
        </div>
        <input type="hidden" id="identifies" value="${session.id}" />
    </body>
</html>